package com.changpei.core.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 *
 *
 * @author Way on 2021/8/7
 */
@Component
@ConfigurationProperties(prefix = "oauth")
@Data
public class OauthConfig {

    /**
     * 令牌过期时间
     */
    private Long tokenExpireIn;

    /**
     * 微信小程序appId
     */
    private String appId;

    /**
     * 微信小程序appSecret
     */
    private String appSecret;

    /**
     * 微信小程序认证地址
     */
    private String loginUrl;

}
